dash-emoji-mart

An emoji picker for Plotly Dash 4.

Wraps emoji-mart as a single Dash component: search, six skin tones, a frequently-used row, 22 locales, categories of your own images/GIFs/SVGs, and any of Iconify's 150+ icon sets. The emoji data set is bundled inside the component, so the picker works offline and makes no requests of its own.

The interactive documentation requires JavaScript. These formats do not:

Every page also serves its own /<page>/llms.txt containing the prose plus the complete, runnable example source.

Install

pip install dash-emoji-mart

Requires Python 3.9+ and Dash 4.1+. The compiled JavaScript bundle ships inside the package — no Node, no build step, no external_scripts.

Usage

from dash import Dash, callback, html, Input, Output
from dash_emoji_mart import DashEmojiMart

app = Dash(__name__)
app.layout = html.Div([
    DashEmojiMart(id="picker"),
    html.Div(id="out"),
])

@callback(Output("out", "children"), Input("picker", "value"))
def show(value):
    return value

Links

Loading...